package com.promise.jokerdream.response.pc

import kotlinx.serialization.Serializable

// 幸运夺宝
@Serializable
data class QueryChristmasLotteryResponse(
    override val result: Int,
    override val msg: String = "",
    // 下次刷新时间
    val refreshTime: Int = 0,
    // 夺宝物品
    val goods: List<ChristmasLotteryGoods> = emptyList()
): BasePCResponse {
    override fun getDescription(): String {
        return msg
    }
}

@Serializable
data class ChristmasLotteryGoods(
    // 兑换需要
    val goodsId: Int = 0,
    // 物品名称
    val name: String = "",
    // 剩余数量
    val remainNum: Int = 0,
    // 消费斗豆数
    val doudouNum: Int = 0,
    val isLottered: Int = 0,
)